package com.superzqb.asus.superzqbFragment.superzqbJobShop.Enterprise;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.superzqb.asus.superzqb.R;
import com.superzqb.asus.superzqbActivity.BaseActivity;
import com.superzqb.asus.superzqbUtil.RoundImageView;

public class CenterActivity extends BaseActivity implements View.OnClickListener{
    private ImageView back;
    private TextView title;
    private RoundImageView pic;
    private TextView enterprise;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_center);
        initView();
    }

    private void initView() {

        pic=(RoundImageView) findViewById(R.id.pic);
        title=(TextView)findViewById(R.id.title);
        title.setText("个人中心");
        back=(ImageView) findViewById(R.id.back);
        enterprise=(TextView)findViewById(R.id.enterprise);
        back.setOnClickListener(this);
        enterprise.setOnClickListener(this);
    }

    @Override
    public void onClick(View v) {
        switch (v.getId()){
            case R.id.back:
                finish();
                break;
            case R.id.enterprise:
                finish();
                break;
            default:break;
        }

    }
}
